

{% extends 'base.html' %}

{% block content %}

    <div class="container mt-3 w-50">
        <h class="h3 mx-auto text-warning">修改</h>
        <form method="post" class="w-50">
            <div class="mb-3 mt-3">
                <label class="form-label">标题：</label>
                <input type="text" class="form-control" name="name" autocomplete="off" required
                       value="{{ customer.title }}">
            </div>
            <div class="mb-3">
                <label class="form-label">内容：</label>
                <input type="int" class="form-control" name="sl" autocomplete="off" required
                       value="{{ customer.detail }}">
            </div>
            <div class="mb-3">
                <label class="form-label">时间：</label>
                <input type="text" class="form-control" name="lj" autocomplete="off" required
                       value="{{ customer.time }}">
            </div>
            <div class="mb-3">
                <label class="form-label">状态：</label>
                <input type="int" class="form-control" name="addr" autocomplete="off" required
                       value="{{ customer.statu }}">
            </div>

            <button type="submit" class="btn btn-primary">修改</button>
        </form>
    </div>

{% endblock %}
